/* SkyDogg Theme - Custom CSS */
html{
    scroll-behavior: smooth;
}

/* Overwrite all anchor underline decoration */
html body.blog-page a:not(.noHoverEffects){
    transition: 0.5s;
    text-decoration: none !important;
}

/* Special Effects */
html body.blog-page a:not(.noHoverEffects):hover{
    text-decoration: none !important;
    filter: drop-shadow(0px 0px 1px gray) !important;
}

html body.blog-page a.sdVideoPageGridArrow:hover{
    filter: drop-shadow(0px 0px 1px #2c86b6) !important;
}

html body.blog-page a.back-btn:hover{
    filter: drop-shadow(0px 0px 2px gray) !important;
}

html body.blog-page img{
    transition: 0.5s;
}

/* Disabled to not affect containers */
/*
html body.blog-page img:hover{
    filter: drop-shadow(0px 0px 1px gray) !important;
}
*/

/*
    Other old selectors
    html body.blog-page a:hover img:hover,
    html body.blog-page a img:hover
*/
html body.blog-page a.back-btn img:hover,
html body.blog-page .frontEndBlockArrow:hover{
    filter: drop-shadow(0px 0px 0px white) !important;
}

/* Generic Classes */
.noImageInside img,
.noImageInside figure{
    display: none;
}

a.decorationOnHoverOnly{
    text-decoration: none !important;
}

a.decorationOnHoverOnly:hover{
    text-decoration: underline !important;
}

a.noTextDecoration,
a.noTextDecoration:hover{
    text-decoration: none !important;
}

.bg-transparent{
    background: none !important;
}

.bg-gray{
    background-color: #b7b7b7 !important;
}

p{
    word-wrap: break-word;
}

/* Accordion Arrow CSS */
.accordion-button::after{
    transform: rotate(270deg);
}

.accordion-button:not(.collapsed)::after{
    transform: rotate(360deg);
}

/* Homepage - Featured Post CSS */
.welcomeDescription{
    color: #1c1c1c;
}

.welcomeDescription::after{
    margin-top: 16px;
}

@media screen and (min-width: 801px){
    .welcome-head{
        margin-bottom: 20px;
    }

    .welcomeDescription{
        font-weight: 100;
        font-size: 20px;
    }
}

@media screen and (max-width: 800px){
    .welcomeDescriptionContainer{
        margin-bottom: 36px;
    }
}

.featuredTopPostContent{
    max-height: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featuredPostTitleLink{
    color: #1c1c1c;
    text-decoration: none;
    text-transform: uppercase;
}

.featuredPostTitleLink:hover{
    color: #1c1c1c;
    text-decoration: underline;
}

.section1{
    /* Adjust this height so that footer is always at the bottom */
    min-height: calc(100vh - 240px);
}

/* Side Post CSS / Side Bar*/
.sideBarContainer{
    overflow-x: hidden;
}

.sideBarContainer .mt-3:first-of-type{
    margin-top: 7px !important;
}

@media screen and (max-width: 800px){
    .sideBarContainer .sideBarEntryTextPart{
        padding: 0px 12px !important;
    }
}

.sidePostListDiv .sidePostContentParagraph{
    margin: 0px;
}

.sidePostTitleLink{
    text-transform: uppercase;
}

.sidePostTitleLink,
.recentPostTitleLink{
    color: #1c1c1c;
    text-decoration: none;
    word-wrap: break-word;
}

.sidePostTitleLink:hover,
.recentPostTitleLink:hover{
    color: #1c1c1c;
    text-decoration: underline;
}

/* Main Post Container / Side Level Blog Post Separator */
.monthly{
    position: relative;
    margin: -5px auto -17px !important;
    top: 10px;
}

.monthly > *{
    border: 2px solid #b7b7b7;
    padding: 3px 10px;
    max-height: 35px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    white-space: pre;
}

.monthly.hiddenSticker{
    visibility: hidden !important;
    height: 30px;
}

.monthly.hiddenSticker *{
    display: none !important;
}

@media screen and (max-width: 800px){
    .monthly{
        margin: auto !important;
        top: 7px;
        right: 1px;
        width: calc(100vw - 24px - 1.75rem);
    }

    @media screen and (max-width: 425px){
        .monthly{
            width: calc(100vw - 24px - 0.9rem);
        }
    }

    @media screen and (max-width: 375px){
        .monthly{
            width: calc(100vw - 24px - 0.8rem);
        }
    }

    @media screen and (max-width: 320px){
        .monthly{
            width: calc(100vw - 24px - 0.6rem);
        }
    }

    .monthly > *{
        width: 50%;
    }
}

.row.blogs hr{
    margin: 25px auto;
}

.afterReadMoreHR,
.row.blogs hr.afterReadMoreHR{
    margin: 25px auto;
    margin-top: 0px;
}

/* Image Sizes */
.theme-banner img,
.blog-img img,
.side-img img{
    /* Placeholder in case we need to modify CSS for images with fixed width/height */
}

.blog-img img{
    min-height: 100%;
    object-fit: cover;
}

/* Category List at the Side */
.sideBarCategoryDiv .accordion-header{
    font-size: 16px;
    font-weight: 400;
}

.sideBarCategoryDiv .accordion-header > a,
.sideBarCategoryDiv .accordion-button a{
    color: #1c1c1c;
    text-decoration: none;
}

.sideBarCategoryDiv .accordion-header > a:hover,
.sideBarCategoryDiv .accordion-button a:hover{
    text-decoration: underline;
}

.sideBarCategoryDiv.accordion-item .accordion-item:not(:last-child){
    border-bottom: 1px solid #cccccc;
}

.sideBarCategoryDiv .accordion-button .categoryWithNoSubcategory{
    display: inline-block;
    padding: 0px;
}

.sideBarCategoryDiv .categoryWithNoSubcategory{
    display: block;
    padding: 16px 20px;
}

.cate-posts a:hover{
    text-decoration: underline;
}

.frontEndBlockTitle{
    position: relative;
    left: 26px;
}

.frontEndBlockArrow{
    float: right;
    position: relative;
    top: 3px;
    right: 10px;
}

/* Archives */
a.archiveEntry:hover{
    text-decoration: underline;
}

.archiveMainTitle{
    font-size: 22px;
    font-weight: 300;
}

.archiveMainTitle h3{
    font-size: 26px;
}

/* Social Media Icons */
.social-media-icons{
    z-index: 99997;
    transition: 0s;
}

.social-media-icons:not(.onHomepage){
    top: 120px;
}

.social-media-icons a{
    background: white !important;
}

/* Tabs */
.tabIconContainer{
    z-index: 99998;
    position: fixed;
    left: calc(100vw - 120px);
}

@media screen and (max-width: 1100px){
    .tabIconContainer{
        z-index: 99997;
    }
}

.tabIconContainer a{
    transition: 1s;
    height: 37px;
    background: white;
    width: 100px;
    position: relative;
    left: 30px;
    word-wrap: break-word;
    white-space: nowrap;
}

.tabIconContainer a:hover{
    width: 100%;
    left: -20%;
}

/* Mobile Tabs CSS */
@media screen and (max-width: 1100px){
    .tabIconContainer{
        left: calc(100vw - 80px);
    }

    .tabIconContainer a,
    .tabIconContainer a:hover{
        left: 68px;
    }

    .tabIconContainer a.hover{
        left: 30px;
    }

    .tabIconContainer a.fullHover{
        width: 100% !important;
        left: -20% !important;
    }
}

@media screen and (max-width: 375px){
    .tabIconContainer{
        left: calc(100vw - 90px);
    }

    .tabIconContainer a,
    .tabIconContainer a:hover{
        left: 80px;
    }
}

/* Inside a Post / Video Post */
.insertedPostVideos{
    width: 100%;
    min-height: 400px;
    max-height: 30vh;
}

.forcedFullWidthCol11{
    width: 96% !important;
    margin-top: 40px !important;
}

.forcedFullWidthCol11.mt-0{
    margin-top: 0px !important;
    padding-top: 20px;
}

@media screen and (max-width: 1100px){
    .forcedFullWidthCol11.mobileMt-0{
        margin-top: 0px !important;
        padding-top: 20px;
    }
}

.blogPostContent figcaption{
    text-align: center;
    font-style: italic;
    font-size: 15px;
}

/* Videos */
@media screen and (max-width: 800px){
    .videoListContainer{
        width: 100vw;
    }

    .videoListContainer .videosContainer .firstColumn{
        padding-left: 0px;
    }

    .featuredVideoRowContainer{
        width: 100vw;
        margin-right: 0px;
    }
}

.videoPageTitle{
    font-size: 35px;
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    color: #1c1c1c;
}

.featuredVideoTitle{
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.5rem;
}

.featuredVideoDescription{
    color: #575757;
}

.longVideoHR{
    width: 100vw;
    position: absolute;
    left: 0px;
}

.videosContainer{
    margin-top: 0.75rem !important;
}

.videosContainer > .col-4:first-child{
    padding-right: 0px;
}

.videosContainer > .col-4:last-child{
    padding-left: 0px;
}

.videosContainer > .col-4:first-child > div{
    padding-right: 6px;
}

.videosContainer > .col-4:last-child > div{
    padding-left: 6px;
}

.videosContainer > .col-4:not(:first-child):not(:last-child){
    padding: 0px;
}

.videosContainer > .col-4:not(:first-child):not(:last-child) > div{
    padding-left: 6px;
    padding-right: 6px;
}

@media screen and (min-width: 801px){
    .videosContainer > .col-4 > div:not(:first-child){
        border-top: 1px solid lightgray;
        padding-top: 40px;
    }
}

@media screen and (max-width: 800px){
    .videosContainer{
        width: calc(100vw + 24px) !important;
        margin: auto;
    }

    .videosContainer > *{
        width: calc(100vw + 24px);
    }
}

.videosContainer .video-section .videoPostListTitle,
.videosContainer .video-section .videoPostListAuthor{
    width: 100%;
    height: 15px;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    white-space: pre;
    display: inline-block;
}

.videosContainer .video-section .videoPostListTitle{
    color: #1f1f1f;
    font-weight: bold;
    font-size: 14px;
    max-width: 235px;
}

.videosContainer .video-section .videoPostListAuthor{
    color: #7f7f7f;
    font-size: 12px;
}

.videosContainer .video-section .videoPostListContent{
    color: #444444;
    height: 80px;
    overflow: hidden;
}

.videosContainer .video-section .videoPostListContent:empty{
    height: 30px;
    overflow: hidden;
}

.videosContainer .video-section .videoPostListContent.useMaxHeight{
    height: 80px !important;
}

@media screen and (max-width: 800px){
    .videosContainer .video-section{
        margin-bottom: 40px;
    }

    .videosContainer .video-section .videoPostListContent{
        height: auto;
    }
}

.videosContainer .video-section .videoPostListContent p{
    font-size: 13px;
}

.featuredVideo{
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.displayedVideoOnVideoPage{
    width: 100%;
    height: 150px;
}

@media screen and (max-width: 800px){
    .displayedVideoOnVideoPage{
        width: 100%;
        height: auto;
        min-height: 200px;
    }
}

.sideBarVideoFrame{
    width: 100%;
    height: 100%;
}

.video-section{
    width: 100%;
}

.video-section a{
    color: #636363;
    text-decoration: none;
}

.video-section a:hover{
    text-decoration: underline;
}

/* Load More Buttons */
button.loadmore{
    background: white;
    outline: none;
    border: 1px solid #f5f5f5;
    border-bottom: 5px solid #f5f5f5;
    box-shadow: 0px 3px 5px 1px #dadada;
    transition: 0.5s;
}

button.loadmore:hover{
    box-shadow: 0px 5px 5px 1px #dadada;
}

button.loadmore.sdLoadMoreVideosBtn{
    position: relative;
    right: 25%;
    margin: 20px 0px;
}

@media screen and (min-width: 800px){
    button.loadmore.sdLoadMoreVideosBtn{
        width: 150%;
    }
}

@media screen and (max-width: 800px){
    button.loadmore{
        margin-bottom: 20px;
    }

    button.loadmore.sdLoadMoreVideosBtn{
        right: auto;
    }
}

/* Interlinking Posts */
div.side-number{
    z-index: 99999 !important;
}

.interlnkingDropdownButton{
    background-color: #efefef;
}

@media screen and (max-width: 800px){
    .interlnkingDropdownButton.toggle{
        outline: none;
        top: 30vh;
    }

    .side-number{
        background-color: transparent;
        padding: 0px;
        top: calc(30vh - 5px);
        left: 50px;
    }

    .side-number .side-count{
        max-width: 50vw;
    }
}